package com.example.SBootDemo.Util;

import java.util.ArrayList;
import java.util.List;

public class TableTitles {
	/**
	 * 静态常量封装起来可重用list模板
	 */
	//user信息
	private static  final String USERNAME="用户名";
	private static  final String SEX="性别";
	private static  final String TRUENAME="真实姓名";
	private static  final String POSITOION="职位";
	private static  final String DEPT="所属部门";
	private static  final String ROLE="角色";
	public  static List<String> getUserTitles(){
		 List<String> titles = new ArrayList<String>();
		 titles.add(USERNAME);
		 
		 titles.add(SEX);
		 titles.add(TRUENAME);
		 titles.add(POSITOION);
		 titles.add(DEPT);
		 titles.add(ROLE);
		return titles;
		 
	 }
	
	//role角色信息
	private static  final String ID="角色id";
	private static  final String NOTE="角色描述";
	private static  final String ROLENAME="角色名称";
	private static  final String IFADMIN="是否超级管理员";
	//分页每页条数
	private static final Integer PAGESIZE=8;
	

	
	public  static List<String> getRoleTitles(){
		 List<String> titles = new ArrayList<String>();
		 titles.add(ID);
		 titles.add(NOTE);
		 titles.add(ROLENAME);
		 titles.add(IFADMIN);
		
		return titles;
		 
	 }
	
	

	public static Integer getPagesize() {
		return PAGESIZE;
	}
	//得到


	private static  final String FUNID="功能id";
	private static  final String FUNURL="功能url";
	private static  final String MODULENAME="所属模块";
	private static  final String PID="父功能";
	private static  final String NOTES="功能备注";
	private static  final String FUNNAME="功能名称";
	private static  final String STATION="启用状态";

	public static List<String> getFunTitles() {
		// TODO Auto-generated method stub
		 List<String> titles = new ArrayList<String>();
		 titles.add(FUNID);
		 titles.add(PID);
		 titles.add(MODULENAME);
		 titles.add(FUNNAME);
		 titles.add(FUNURL);
		 titles.add(NOTES);
		 titles.add(STATION);
		 
		
		return titles;
		 
	}

//顶层功能
	private static  final String MODULEID="顶层功能ID";
	private static  final String TOPMODULENAME="功能名称";
	private static  final String MODULENOTE="功能备注";

	public static List<String> getModuleTitles() {
		// TODO Auto-generated method stub
		List<String> titles = new ArrayList<String>();
		 titles.add(MODULEID);
		 titles.add(TOPMODULENAME);
		 titles.add(MODULENOTE);
		
		 
		
		return titles;
	}
	
	
	
	
	
	

}
